package cn.emove.modular.system.mapper;

import cn.emove.modular.system.entity.MeterReading;
import cn.emove.modular.system.model.MeterReadingDto;
import cn.stylefeng.roses.core.datascope.DataScope;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MeterTemplateMapper extends BaseMapper<MeterReading> {
    /**
     * 根据条件查询缴费列表
     */
    Page<Map<String, Object>> selectMeterTemplates(@Param("page") Page page, @Param("dataScope") DataScope dataScope, @Param("monthTime") String monthTime,@Param("meterModel") String meterModel);

    List<MeterReadingDto> selectAllMeterTemplates(@Param("monthTime") String monthTime, @Param("array") String[] array,@Param("meterModel") String meterModel);
}
